package com.kevis.zhunblog.service.test;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 如果需要测试，则这些注解需要打开。因为担心这些会再开一个spring管理，导致不可控的因素
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.kevis.zhunblog"})
@MapperScan("com.kevis.zhunblog.mapper")
public class ServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceApplication.class,args);
        System.out.println("启动成功~");
    }
}
